import type { VNode } from "vue";
import { defineComponent, h } from "vue";

import { useThemeLocaleData } from "@theme-hope/composables/index";

import "../styles/hope-not-found-hint.scss";

export default defineComponent({
  name: "HopeNotFoundHint",

  setup() {
    const themeLocale = useThemeLocaleData();

    const getMsg = (): string => {
      const messages = themeLocale.value.routeLocales.notFoundMsg;

      return messages[Math.floor(Math.random() * messages.length)];
    };

    return (): VNode =>
      h("div", { class: "not-found-hint" }, [
        h("svg", {
          class: "not-found-icon",
          width: "183",
          height: "191",
          fill: "none",
          xmlns: "http://www.w3.org/2000/svg",
          innerHTML:
            '<path fill="url(#a)" d="M182.369 56.861c0 6.526-1.283 12.793-3.713 18.942-2.43 6.02-6.273 11.245-11.139 15.729-.011.006-.017.017-.028.023 3.494-3.787 6.295-8.045 8.214-12.799 2.43-6.143 3.712-12.416 3.712-18.941 0-6.532-1.282-13.192-3.712-19.718-2.431-6.526-6.144-12.556-11.139-18.07-5.12-5.535-10.751-9.833-17.023-13.057-6.402-3.105-12.804-5.052-19.33-5.738-6.531-.686-13.063-.096-19.335 1.677-6.273 1.772-11.904 4.894-16.894 9.36-.124.113-.242.22-.366.338a44.734 44.734 0 0 1 3.32-3.29c4.99-4.468 10.621-7.59 16.893-9.368C118.102.183 124.633-.408 131.164.28c6.526.686 12.928 2.632 19.33 5.738 6.273 3.223 11.904 7.521 17.023 13.057 4.996 5.513 8.709 11.544 11.139 18.07 2.43 6.525 3.713 13.18 3.713 19.717Z"/><path fill="#FF5432" stroke="url(#b)" stroke-width=".3" d="m91.717 14.718.002-.002c.113-.108.22-.206.335-.31l.027-.025c4.974-4.452 10.585-7.562 16.835-9.328 6.254-1.767 12.766-2.356 19.278-1.672 6.506.685 12.891 2.625 19.279 5.723 6.255 3.215 11.872 7.502 16.979 13.025 4.984 5.5 8.686 11.514 11.109 18.02 2.425 6.511 3.704 13.148 3.704 19.666 0 6.505-1.279 12.759-3.703 18.886-1.91 4.735-4.702 8.978-8.184 12.752a49.464 49.464 0 0 1-2.915 2.92c-5.105 4.438-10.716 7.677-16.964 9.442-6.255 1.767-12.767 2.361-19.273 1.677-6.512-.684-12.897-2.636-19.286-5.73-6.253-3.084-11.869-7.505-16.848-12.882-4.984-5.5-8.81-11.65-11.238-18.161-2.425-6.641-3.704-13.16-3.704-19.666 0-6.51 1.278-12.759 3.702-18.886 2.365-5.845 6.065-11.064 10.865-15.45Zm65.396 71.66c1.034-.926 2-1.892 2.893-2.904 2.565-2.881 4.576-6.102 6.101-9.654 2.063-4.792 2.96-9.842 2.96-15.108 0-5.268-1.028-10.512-2.957-15.725l-.001-.003a46.292 46.292 0 0 0-4.837-9.154l-.096-.141-.128.113-53.859 48.077-3.14 2.802-.129.115.133.111a46.478 46.478 0 0 0 8.725 5.813c5.007 2.58 10.15 4.02 15.416 4.573 5.269.553 10.407.062 15.414-1.332l.004-.001c5.016-1.531 9.513-4.017 13.501-7.582ZM99.19 22.468l-.004.003-.008.007c-3.989 3.56-6.944 7.757-9 12.553-2.057 4.803-2.954 9.847-2.954 15.113 0 5.269 1.027 10.513 2.951 15.72l.001.003c1.417 3.601 3.32 7.01 5.667 10.216l.098.133.123-.11 57.246-51.109.131-.117-.136-.11a2.983 2.983 0 0 1-.084-.075h-.001a2.47 2.47 0 0 0-.092-.082c-2.973-2.617-6.207-4.806-9.622-6.477-5.007-2.58-10.144-4.025-15.41-4.578-5.268-.553-10.406-.056-15.419 1.338h-.004c-4.99 1.525-9.475 3.992-13.445 7.538a.297.297 0 0 0-.033.029l-.001.001a.102.102 0 0 1-.004.004Z"/><path fill="url(#c)" d="M153.212 24.885 95.965 75.994c-2.34-3.196-4.236-6.594-5.648-10.183-1.918-5.192-2.942-10.418-2.942-15.667 0-5.249.894-10.272 2.942-15.054 2.048-4.776 4.99-8.95 8.962-12.5.017-.012.028-.029.045-.04-2.543 2.858-4.54 6.06-6.053 9.586-2.048 4.776-2.942 9.806-2.942 15.055 0 5.248 1.023 10.474 2.942 15.667 1.412 3.59 3.308 6.981 5.648 10.182l54.113-48.313c.062.045.118.107.18.158Z"/><path fill="url(#d)" d="M159.894 83.375a34.858 34.858 0 0 1-2.881 2.891c-3.971 3.55-8.449 6.025-13.445 7.55-4.99 1.39-10.109 1.879-15.358 1.328-5.248-.552-10.373-1.986-15.363-4.557a46.37 46.37 0 0 1-8.698-5.795l3.14-2.801a46.261 46.261 0 0 0 8.511 5.642c4.99 2.571 10.115 4.006 15.364 4.557 5.248.551 10.368.062 15.358-1.328 4.967-1.513 9.417-3.971 13.372-7.487Z"/><g filter="url(#e)"><path fill="url(#f)" fill-opacity=".6" d="M156.629 56.398v113.238c0 5.909-2.481 10.964-6.465 14.299 2.666-3.191 4.251-7.371 4.251-12.086V58.611c0-11.375-9.224-21.556-20.589-22.75L20.588 23.96c-5.466-.577-10.428 1.029-14.113 4.107 3.767-4.489 9.676-7.021 16.326-6.321l113.239 11.9c11.365 1.194 20.589 11.376 20.589 22.75Z"/></g><g filter="url(#g)"><path fill="url(#h)" d="M154.416 58.611v113.238c0 4.715-1.586 8.895-4.252 12.086-3.768 4.499-9.687 7.041-16.337 6.341l-113.238-11.9C9.213 177.171 0 166.99 0 155.615V42.377c0-5.91 2.491-10.974 6.475-14.31 3.686-3.077 8.648-4.683 14.114-4.107l113.238 11.9c11.365 1.195 20.589 11.376 20.589 22.751Z"/><path stroke="url(#i)" stroke-width=".3" d="m133.843 190.127-.016.149.016-.149-113.238-11.9C9.304 177.03.15 166.913.15 155.615V42.377c0-5.866 2.472-10.888 6.421-14.194 3.654-3.052 8.575-4.646 14.002-4.074l113.238 11.9c11.29 1.187 20.455 11.304 20.455 22.602v113.238c0 4.681-1.574 8.826-4.217 11.99-3.735 4.459-9.605 6.983-16.206 6.288Z"/></g><path fill="url(#j)" d="m10.117 124.1 6.059-4.205 13.367 1.51-6.059 4.197-13.367-1.502Z"/><path fill="url(#k)" fill-rule="evenodd" d="m29.73 98.002-6.058 4.205a250.682 250.682 0 0 1-2.156 4.091c-.742 1.369-1.483 2.762-2.224 4.155l-.014.01-9.162 13.636 6.059-4.205 9.162-13.628-1.619 1.121 1.627-1.13a420.431 420.431 0 0 1 1.886-3.527l.344-.637c.743-1.38 1.461-2.743 2.155-4.09Z" clip-rule="evenodd"/><path fill="url(#l)" d="M33.035 126.696v.089l.09.01 6.508.733-.016 8.022-6.487-.731-.11-.012v.111l-.025 13.868-9.46-1.064.024-13.889v-.09l-.088-.01L.1 131.098l.015-7.181 20.805-31.606 12.18 1.371-.066 33.014Zm-8.97-24.453.003-.092-.092-.01-.302-.033-.068-.007-.031.061a254.646 254.646 0 0 1-2.155 4.089l-.343.637a398.39 398.39 0 0 0-1.884 3.524l-9.159 13.631-.092.137.164.019 13.367 1.51.11.013v-.112l.025-11.75c0-1.639.066-3.589.188-5.849.13-2.271.22-4.191.27-5.768Z"/><path stroke="url(#m)" stroke-width=".2" d="M33.035 126.696v.089l.09.01 6.508.733-.016 8.022-6.487-.731-.11-.012v.111l-.025 13.868-9.46-1.064.024-13.889v-.09l-.088-.01L.1 131.098l.015-7.181 20.805-31.606 12.18 1.371-.066 33.014Zm-8.97-24.453.003-.092-.092-.01-.302-.033-.068-.007-.031.061a254.646 254.646 0 0 1-2.155 4.089l-.343.637a398.39 398.39 0 0 0-1.884 3.524l-9.159 13.631-.092.137.164.019 13.367 1.51.11.013v-.112l.025-11.75c0-1.639.066-3.589.188-5.849.13-2.271.22-4.191.27-5.768Z"/><path stroke="url(#n)" stroke-width=".2" d="M33.035 126.696v.089l.09.01 6.508.733-.016 8.022-6.487-.731-.11-.012v.111l-.025 13.868-9.46-1.064.024-13.889v-.09l-.088-.01L.1 131.098l.015-7.181 20.805-31.606 12.18 1.371-.066 33.014Zm-8.97-24.453.003-.092-.092-.01-.302-.033-.068-.007-.031.061a254.646 254.646 0 0 1-2.155 4.089l-.343.637a398.39 398.39 0 0 0-1.884 3.524l-9.159 13.631-.092.137.164.019 13.367 1.51.11.013v-.112l.025-11.75c0-1.639.066-3.589.188-5.849.13-2.271.22-4.191.27-5.768Z"/><path fill="url(#o)" d="m33.127 134.919 6.06-4.197-.025 13.971-6.067 4.205.032-13.979Z"/><path fill="url(#p)" d="m33.136 126.697 6.067-4.206 6.597.744-6.058 4.205-6.606-.743Z"/><path fill="url(#q)" stroke="url(#r)" stroke-width=".1" d="m39.776 135.566.016-8.101 5.959-4.136-.017 8.109-5.958 4.128Z"/><path fill="url(#s)" stroke="url(#t)" stroke-width=".1" d="m33.187 93.542-12.18-1.372 5.935-4.118 12.179 1.37-5.934 4.12Z"/><path fill="url(#u)" stroke="url(#v)" stroke-width=".2" d="m33.236 126.505.065-32.86 5.858-4.066-.056 32.86-5.867 4.066Z"/><path fill="url(#w)" d="m112.012 134.521 6.059-4.205 13.366 1.51-6.058 4.197-13.367-1.502Z"/><path fill="url(#x)" fill-rule="evenodd" d="m131.626 108.423-6.059 4.206a250.672 250.672 0 0 1-2.156 4.09c-.741 1.369-1.482 2.762-2.224 4.155l-.014.01-9.161 13.636 6.059-4.205 9.161-13.628-1.618 1.121 1.627-1.129c.622-1.182 1.256-2.358 1.886-3.528l.343-.637c.743-1.38 1.462-2.743 2.156-4.091Z" clip-rule="evenodd"/><path fill="url(#y)" d="M134.93 137.117v.089l.089.01 6.509.733-.016 8.022-6.487-.731-.111-.012v.111l-.025 13.868-9.459-1.063.024-13.89v-.09l-.089-.01-23.37-2.635.016-7.181 20.804-31.606 12.18 1.371-.065 33.014Zm-8.97-24.453.003-.092-.092-.01-.302-.033-.068-.007-.032.061a250.485 250.485 0 0 1-2.155 4.089l-.343.637c-.629 1.168-1.262 2.343-1.884 3.524l-9.158 13.632-.092.136.163.019 13.367 1.51.111.013v-.112l.025-11.75c0-1.639.065-3.589.188-5.849.13-2.271.22-4.19.269-5.768Z"/><path stroke="url(#z)" stroke-width=".2" d="M134.93 137.117v.089l.089.01 6.509.733-.016 8.022-6.487-.731-.111-.012v.111l-.025 13.868-9.459-1.063.024-13.89v-.09l-.089-.01-23.37-2.635.016-7.181 20.804-31.606 12.18 1.371-.065 33.014Zm-8.97-24.453.003-.092-.092-.01-.302-.033-.068-.007-.032.061a250.485 250.485 0 0 1-2.155 4.089l-.343.637c-.629 1.168-1.262 2.343-1.884 3.524l-9.158 13.632-.092.136.163.019 13.367 1.51.111.013v-.112l.025-11.75c0-1.639.065-3.589.188-5.849.13-2.271.22-4.19.269-5.768Z"/><path stroke="url(#A)" stroke-width=".2" d="M134.93 137.117v.089l.089.01 6.509.733-.016 8.022-6.487-.731-.111-.012v.111l-.025 13.868-9.459-1.063.024-13.89v-.09l-.089-.01-23.37-2.635.016-7.181 20.804-31.606 12.18 1.371-.065 33.014Zm-8.97-24.453.003-.092-.092-.01-.302-.033-.068-.007-.032.061a250.485 250.485 0 0 1-2.155 4.089l-.343.637c-.629 1.168-1.262 2.343-1.884 3.524l-9.158 13.632-.092.136.163.019 13.367 1.51.111.013v-.112l.025-11.75c0-1.639.065-3.589.188-5.849.13-2.271.22-4.19.269-5.768Z"/><path fill="url(#B)" d="m135.022 145.34 6.059-4.197-.025 13.971-6.067 4.205.033-13.979Z"/><path fill="url(#C)" d="m135.03 137.118 6.067-4.206 6.598.743-6.059 4.206-6.606-.743Z"/><path fill="url(#D)" stroke="url(#E)" stroke-width=".1" d="m141.67 145.987.016-8.101 5.959-4.136-.016 8.109-5.959 4.128Z"/><path fill="url(#F)" stroke="url(#G)" stroke-width=".1" d="m135.081 103.962-12.179-1.371 5.935-4.118 12.178 1.37-5.934 4.119Z"/><path fill="url(#H)" stroke="url(#I)" stroke-width=".2" d="m135.131 136.926.064-32.859 5.859-4.066-.057 32.859-5.866 4.066Z"/><path fill="url(#J)" stroke="url(#K)" stroke-width=".3" d="M88.748 113.062c1.56 4.38 2.343 9.702 2.343 15.962 0 6.268-.783 11.458-2.342 15.592-.626 1.665-1.356 3.142-2.199 4.446v.001c-.6.94-1.247 1.781-1.95 2.533l-.001.001-.283.291a14.419 14.419 0 0 1-2.142 1.786c-2.816 1.913-6.136 2.674-9.96 2.277-3.88-.413-7.231-1.87-10.057-4.388-2.827-2.511-5.027-5.998-6.589-10.463-1.56-4.463-2.343-9.826-2.343-16.085 0-6.26.783-11.417 2.342-15.469 1.056-2.753 2.41-4.988 4.05-6.718l.064-.064.002-.003a13.869 13.869 0 0 1 2.383-1.995v-.001l.073-.048h.001c2.816-1.848 6.16-2.561 10.043-2.148 3.825.397 7.152 1.822 9.978 4.259 2.834 2.438 5.025 5.843 6.587 10.234Zm-24.524.913v.001c-.798 2.869-1.198 6.902-1.198 12.1 0 5.199.4 9.353 1.197 12.465v.001c.803 3.097 1.89 5.387 3.278 6.843 1.384 1.45 2.943 2.27 4.682 2.454 1.74.184 3.308-.311 4.701-1.479.94-.789 1.727-1.972 2.37-3.562.313-.775.593-1.655.84-2.624.747-2.941 1.123-7.022 1.123-12.22 0-5.19-.376-9.311-1.124-12.333-.746-3.017-1.808-5.228-3.2-6.611-1.384-1.368-2.942-2.153-4.678-2.337a6.21 6.21 0 0 0-2.618.251 6.597 6.597 0 0 0-2.08 1.111c-1.4 1.091-2.49 3.088-3.293 5.94Z"/><path fill="url(#L)" d="M79.114 142.742c-.637 1.576-1.413 2.735-2.327 3.503-1.364 1.143-2.89 1.625-4.59 1.445-1.698-.179-3.225-.98-4.588-2.409-1.364-1.429-2.442-3.69-3.242-6.777-.792-3.095-1.192-7.235-1.192-12.428 0-5.193.4-9.211 1.192-12.06.8-2.842 1.878-4.802 3.242-5.863a6.472 6.472 0 0 1 2.033-1.086 19.736 19.736 0 0 0-.751 2.229c-.8 2.85-1.2 6.867-1.2 12.06 0 5.194.4 9.334 1.2 12.42.792 3.095 1.87 5.357 3.233 6.786 1.364 1.429 2.89 2.229 4.59 2.409.84.081 1.64.016 2.4-.229Z"/><path fill="url(#M)" d="M95.765 124.304c0 6.271-.784 11.489-2.352 15.637-1.241 3.291-2.882 5.879-4.932 7.782l-3.772 3.977c.71-.76 1.363-1.609 1.967-2.556.85-1.315 1.584-2.801 2.213-4.475 1.568-4.156 2.352-9.366 2.352-15.645 0-6.271-.784-11.603-2.352-16.012-1.567-4.41-3.772-7.839-6.63-10.297-2.85-2.458-6.206-3.895-10.06-4.295-3.911-.417-7.292.302-10.142 2.172l-.073.049a14 14 0 0 0-2.409 2.017l4.058-4.23.196-.212a14.02 14.02 0 0 1 2.744-2.352c2.858-1.854 6.238-2.58 10.142-2.172 3.854.408 7.21 1.837 10.068 4.303 2.85 2.458 5.062 5.888 6.63 10.297 1.568 4.393 2.352 9.733 2.352 16.012Z"/><g filter="url(#N)"><path fill="#FCFBF4" d="m80.216 94.835-9.236 2.56-8.724 3.968 9.236-2.56 8.724-3.968Z"/></g><g filter="url(#O)"><path fill="#FCFBF4" d="m80.422 101.355-8.696-4.029-9.218-2.623 8.696 4.028 9.218 2.624Z"/></g><defs><linearGradient id="b" x1="114.632" x2="129.684" y1=".717" y2="99.276" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".276" stop-color="#fff" stop-opacity=".849"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="99.504" x2="127.35" y1="21.096" y2="47.255" gradientUnits="userSpaceOnUse"><stop stop-color="#C84820"/><stop offset=".936" stop-color="#BE2703"/><stop offset="1" stop-color="#EC5A3D"/></linearGradient><linearGradient id="d" x1="102.316" x2="165.885" y1="82.978" y2="82.978" gradientUnits="userSpaceOnUse"><stop stop-color="#B02501"/><stop offset="1" stop-color="#EA583B"/></linearGradient><linearGradient id="f" x1="6.176" x2="150.297" y1="21.632" y2="196.121" gradientUnits="userSpaceOnUse"><stop stop-color="#F7F5DB"/><stop offset=".393" stop-color="#FFF7E4"/><stop offset=".496" stop-color="#FCD5B0"/><stop offset=".624" stop-color="#FDD5AC"/><stop offset="1" stop-color="#FCCEAC"/></linearGradient><linearGradient id="h" x1="6.484" x2="101.783" y1="28.68" y2="203.183" gradientUnits="userSpaceOnUse"><stop stop-color="#FE5432" stop-opacity=".1"/><stop offset=".807" stop-color="#EB4929" stop-opacity=".215"/><stop offset="1" stop-color="#D63D1F" stop-opacity=".29"/></linearGradient><linearGradient id="i" x1="45.295" x2="102.429" y1="29.352" y2="195.607" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".448" stop-color="#fff" stop-opacity=".849"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="j" x1="13.473" x2="24.089" y1="119.845" y2="134.952" gradientUnits="userSpaceOnUse"><stop stop-color="#C42300"/><stop offset="1" stop-color="#D74213"/></linearGradient><linearGradient id="k" x1="2.857" x2="14.697" y1="90.041" y2="125.152" gradientUnits="userSpaceOnUse"><stop offset=".538" stop-color="#AC2400"/><stop offset=".643" stop-color="#B62B08"/><stop offset=".749" stop-color="#DE4927"/><stop offset="1" stop-color="#A70A00"/></linearGradient><linearGradient id="l" x1="15.514" x2="32.662" y1="90.858" y2="150.057" gradientUnits="userSpaceOnUse"><stop stop-color="#FF5432" stop-opacity=".36"/><stop offset="0" stop-color="#FF5432" stop-opacity=".75"/><stop offset="1" stop-color="#CF2705" stop-opacity=".79"/></linearGradient><linearGradient id="m" x1="17.368" x2="32.421" y1="86.842" y2="128.526" gradientUnits="userSpaceOnUse"><stop offset=".129" stop-color="#fff"/><stop offset=".404" stop-color="#fff" stop-opacity=".365"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="o" x1="33.887" x2="38.378" y1="134.952" y2="147.608" gradientUnits="userSpaceOnUse"><stop stop-color="#BE2A03"/><stop offset="1" stop-color="#D54427"/></linearGradient><linearGradient id="p" x1="33.9" x2="44.828" y1="122.516" y2="123.04" gradientUnits="userSpaceOnUse"><stop stop-color="#F06022"/><stop offset="1" stop-color="#F4835F"/></linearGradient><linearGradient id="q" x1="40.828" x2="42.763" y1="124.744" y2="135.662" gradientUnits="userSpaceOnUse"><stop stop-color="#DD603F"/><stop offset="1" stop-color="#CC3112"/></linearGradient><linearGradient id="r" x1="39.368" x2="43.421" y1="127.368" y2="128.526" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".844" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="s" x1="21.979" x2="37.823" y1="88.028" y2="89.004" gradientUnits="userSpaceOnUse"><stop stop-color="#FFD8B7"/><stop offset="1" stop-color="#EE8E64"/></linearGradient><linearGradient id="t" x1="19.684" x2="33.579" y1="92.053" y2="89.737" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".359" stop-color="#fff" stop-opacity=".505"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="u" x1="33.479" x2="37.153" y1="94.124" y2="123.928" gradientUnits="userSpaceOnUse"><stop stop-color="#DD603F"/><stop offset="1" stop-color="#CC3112"/></linearGradient><linearGradient id="v" x1="32.421" x2="39.368" y1="93.21" y2="94.368" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".667" stop-color="#fff" stop-opacity=".266"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="w" x1="115.368" x2="125.983" y1="130.267" y2="145.373" gradientUnits="userSpaceOnUse"><stop stop-color="#C42300"/><stop offset="1" stop-color="#D74213"/></linearGradient><linearGradient id="x" x1="104.753" x2="116.593" y1="100.462" y2="135.574" gradientUnits="userSpaceOnUse"><stop offset=".538" stop-color="#AC2400"/><stop offset=".643" stop-color="#B62B08"/><stop offset=".749" stop-color="#DE4927"/><stop offset="1" stop-color="#A70A00"/></linearGradient><linearGradient id="y" x1="117.409" x2="134.556" y1="101.279" y2="160.478" gradientUnits="userSpaceOnUse"><stop stop-color="#FF5432" stop-opacity=".36"/><stop offset="0" stop-color="#FF5432" stop-opacity=".75"/><stop offset="1" stop-color="#CF2705" stop-opacity=".79"/></linearGradient><linearGradient id="z" x1="119.263" x2="134.316" y1="97.263" y2="138.947" gradientUnits="userSpaceOnUse"><stop offset=".129" stop-color="#fff"/><stop offset=".404" stop-color="#fff" stop-opacity=".365"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="B" x1="135.781" x2="140.272" y1="145.372" y2="158.029" gradientUnits="userSpaceOnUse"><stop stop-color="#BE2A03"/><stop offset="1" stop-color="#D54427"/></linearGradient><linearGradient id="C" x1="135.794" x2="146.722" y1="132.937" y2="133.461" gradientUnits="userSpaceOnUse"><stop stop-color="#F06022"/><stop offset="1" stop-color="#F4835F"/></linearGradient><linearGradient id="D" x1="142.722" x2="144.658" y1="135.165" y2="146.083" gradientUnits="userSpaceOnUse"><stop stop-color="#DD603F"/><stop offset="1" stop-color="#CC3112"/></linearGradient><linearGradient id="E" x1="141.263" x2="145.315" y1="137.789" y2="138.947" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".844" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="F" x1="123.874" x2="139.718" y1="98.449" y2="99.425" gradientUnits="userSpaceOnUse"><stop stop-color="#FFD8B7"/><stop offset="1" stop-color="#EE8E64"/></linearGradient><linearGradient id="G" x1="121.578" x2="135.473" y1="102.474" y2="100.158" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".359" stop-color="#fff" stop-opacity=".505"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="H" x1="135.373" x2="139.048" y1="104.545" y2="134.349" gradientUnits="userSpaceOnUse"><stop stop-color="#DD603F"/><stop offset="1" stop-color="#CC3112"/></linearGradient><linearGradient id="I" x1="134.316" x2="141.263" y1="103.632" y2="104.789" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".667" stop-color="#fff" stop-opacity=".266"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="J" x1="61.241" x2="77.572" y1="98.481" y2="157.681" gradientUnits="userSpaceOnUse"><stop stop-color="#FF5432" stop-opacity=".36"/><stop offset="0" stop-color="#FF5432" stop-opacity=".75"/><stop offset="1" stop-color="#CF2705" stop-opacity=".79"/></linearGradient><linearGradient id="K" x1="63.105" x2="77.579" y1="98.421" y2="156.316" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset=".092" stop-color="#fff" stop-opacity=".71"/><stop offset=".186" stop-color="#fff" stop-opacity=".536"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="L" x1="65.731" x2="90.635" y1="108.279" y2="124.61" gradientUnits="userSpaceOnUse"><stop stop-color="#CB4900"/><stop offset=".309" stop-color="#D55315"/><stop offset=".65" stop-color="#DF5823"/><stop offset=".778" stop-color="#D73C13"/><stop offset="1" stop-color="#CC3112"/></linearGradient><linearGradient id="M" x1="55.525" x2="94.311" y1="86.641" y2="156.456" gradientUnits="userSpaceOnUse"><stop stop-color="#F5E5D7"/><stop offset=".203" stop-color="#FEF1E1"/><stop offset=".254" stop-color="#FFBF98"/><stop offset=".314" stop-color="#FF9E68"/><stop offset=".398" stop-color="#EC5B1D"/><stop offset=".594" stop-color="#D03B04"/><stop offset=".933" stop-color="#8E1A00"/></linearGradient><filter id="e" width="162.154" height="174.303" x=".475" y="15.632" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImage" stdDeviation="3"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur" result="shape"/><feGaussianBlur result="effect2_foregroundBlur" stdDeviation=".5"/></filter><filter id="g" width="166.416" height="178.547" x="-6" y="17.844" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImage" stdDeviation="3"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur" result="shape"/></filter><filter id="N" width="22.472" height="11.937" x="60" y="92.13" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur" stdDeviation="1"/></filter><filter id="O" width="22.436" height="12.058" x="60.247" y="92" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur" stdDeviation="1"/></filter><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="rotate(15.866 -137.174 484.944) scale(55.56 54.6418)" gradientUnits="userSpaceOnUse"><stop offset=".013" stop-color="#B62505"/><stop offset=".06" stop-color="#8C1900"/><stop offset=".564" stop-color="#FBDCD5"/><stop offset=".633" stop-color="#FFCBAD"/><stop offset=".7" stop-color="#FFEBE3"/><stop offset=".779" stop-color="#F9B092"/><stop offset=".86" stop-color="#F37946"/><stop offset=".943" stop-color="#DB490A"/></radialGradient><radialGradient id="n" cx="0" cy="0" r="1" gradientTransform="rotate(104.036 -30.265 79.343) scale(7.16117 3.33066)" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".82"/><stop offset=".109" stop-color="#fff" stop-opacity=".65"/><stop offset=".297" stop-color="#fff" stop-opacity=".25"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient><radialGradient id="A" cx="0" cy="0" r="1" gradientTransform="rotate(104.036 16.614 124.332) scale(7.16117 3.33066)" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".82"/><stop offset=".109" stop-color="#fff" stop-opacity=".65"/><stop offset=".297" stop-color="#fff" stop-opacity=".25"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></radialGradient></defs>',
        }),
        h(
          "h1",
          { class: "error-title" },
          themeLocale.value.routeLocales.notFoundTitle,
        ),
        h("p", { class: "error-hint" }, getMsg()),
      ]);
  },
});
